package com.koron.order.linedefect.base.mapper;

import com.koron.order.linedefect.base.bean.po.DefectChange;
import com.koron.order.linedefect.base.bean.query.DefectChangeQuery;
import com.koron.order.linedefect.base.bean.vo.DefectChangeVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DefectChangeMapper {

    boolean save(DefectChange defectChange);

    boolean delete(@Param("id") String id);

    List<DefectChangeVO> list(DefectChangeQuery defectChangeQuery);

    DefectChangeVO getById(@Param("id") String id);

    boolean update(@Param("id") String id, @Param("status") Integer status);
}
